package com.library.bookmanagement.mapper;

import com.library.bookmanagement.entity.Overdue;
import com.library.bookmanagement.entity.ReaderKey;

import java.util.List;

public interface OverdueMapper {
    int deleteByPrimaryKey(ReaderKey key);

    int insert(Overdue record);

    int insertSelective(Overdue record);

    Overdue selectByPrimaryKey(ReaderKey key);

    int updateByPrimaryKeySelective(Overdue record);

    int updateByPrimaryKey(Overdue record);

    List<Overdue> selectByUserId(Integer userId);
}